<template>
  <view class="mine-view">
    <view class="title-text">
      <view>积分</view>
      <i class="el-icon-arrow-right"></i>
      <view>积分兑换记录</view>
      <view class="button-view">
        <i class="el-icon-arrow-right"></i>
        <view>积分兑换详情</view>
      </view>
    </view>
    <view class="view-detail">
      <view class="detail-status">
        <image
          src="/static/pc/IntegralDetails-icon.png"
          class="left-image"
        ></image>
        待平台确认
        <span style="color: #FF453B;margin-left: 8px;">待收货</span>
      </view>
      <view class="detail-name">大连诺众投资咨询有限公司</view>
      <view class="detail-address"
        >辽宁省大连市高新技术产业园区亿阳路三丰大厦2402</view
      >
      <view class="divider-view">
        <view class="divider-item" v-for="i in 21">
          <image
            src="/static/pc/divider-icon.png"
            class="divider-image"
          ></image>
        </view>
      </view>
      <view class="integra-info">
        <view class="integra-left">
          <image src="/static/pc/IntegralI-item.png" class="left-image"></image>
        </view>
        <view class="integra-right">
          <view class="right-one"
            >大连美早大樱桃新鲜现货国产整箱5斤礼盒装备份</view
          >
          <view class="right-two">6瓶/箱</view>
          <view class="right-three"
            >数量:
            <span style="color: #4d0f0b; font-size: 14px; margin-left: 4px"
              >3</span
            ></view
          >
          <view class="right-four"
            >2999
            <span style="font-size: 12px; margin-left: 4px">积分</span></view
          >
        </view>
      </view>
      <view class="integra-bot">
        <view class="bot-left">实付积分</view>
        <view class="bot-right"> 4654654 </view>
      </view>
      <view class="remark">备注信息</view>
      <view class="remark-inp">
        <el-input
          class="el-textarea"
          type="textarea"
          :autosize="{ minRows: 4, maxRows: 4 }"
          placeholder="请输入"
          v-model="textarea"
        >
        </el-input>
      </view>
      <view class="order-info">
        <view class="order-item">
          <view class="item-left">订单编号</view>
          <view class="item-right"
            >NZJFDD100000002 <span class="text-icon">|</span>
            <span class="text-copy">复制</span></view
          >
        </view>
        <view class="order-item">
          <view class="item-left">创建时间</view>
          <view class="item-right">20240202</view>
        </view>
        <view class="order-item">
          <view class="item-left">创建时间</view>
          <view class="item-right">20240202</view>
        </view>
        <view class="order-item">
          <view class="item-left">创建时间</view>
          <view class="item-right">20240202</view>
        </view>
      </view>
      <view class="detail-bot">
        <el-button class="bot-button">返回</el-button>
        <el-button class="bot-button-right">取消兑换</el-button>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      textarea: "",
    };
  },
  methods: {},
};
</script>

<style scoped lang="scss">
.mine-view {
  width: 100%;
  background: white;
  padding: 48px 40px 36px 40px;
  min-height: 610px;
  .title-text {
    font-family: PingFangSC, PingFang SC;
    font-weight: 600;
    font-size: 20px;
    color: #1f0c00;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    @extend .row-start;
    .el-icon-arrow-right {
      color: #b1a69f;
      margin-right: 7px;
      margin-left: 7px;
      margin-top: 1px;
      font-size: 12px;
    }
    .button-view {
      @extend .row-start;
      margin-left: 7px;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 18px;
      color: #b1a69f;
      line-height: 25px;
      text-align: left;
      font-style: normal;

      .el-icon-arrow-right {
        color: #b1a69f;
        margin-right: 7px;
        margin-top: 1px;
        font-size: 12px;
      }
    }
  }
  .view-detail {
    padding: 0 18px 0 22px;
    margin-top: 20px;
    .detail-status {
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 16px;
      color: #b8aca3;
      line-height: 22px;
      text-align: left;
      font-style: normal;
      @extend .row-start;
      .left-image {
        width: 18px;
        height: 18px;
        margin-right: 6px;
      }
    }
    .detail-name {
      margin-top: 10px;
      font-family: PingFangSC, PingFang SC;
      font-weight: 600;
      font-size: 18px;
      color: #2c1101;
      line-height: 25px;
      text-align: left;
      font-style: normal;
    }
    .detail-address {
      margin-top: 6px;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 14px;
      color: #b8aca3;
      line-height: 20px;
      text-align: left;
      font-style: normal;
    }
    .divider-view {
      margin: 22px 0;
      @extend .row-start;
      .divider-item {
        .divider-image {
          width: 37px;
          height: 3px;
        }
      }
    }
    .integra-info {
      border-bottom: 1px solid #f7e8e4;
      padding-bottom: 12px;
      @extend .row-start;
      .integra-left {
        height: 107px;
        .left-image {
          width: 107px;
          height: 100%;
        }
      }
      .integra-right {
        height: 107px;
        margin-left: 10px;
        .right-one {
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 16px;
          color: #2c1101;
          line-height: 22px;
          text-align: left;
          font-style: normal;
        }
        .right-two {
          margin-top: 8px;
          border-radius: 4px;
          width: 45px;
          height: 20px;
          border: 1px solid #fe5950;
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 10px;
          color: #fe5950;
          line-height: 14px;
          text-align: left;
          font-style: normal;
          @extend .row;
        }
        .right-three {
          margin-top: 8px;
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 12px;
          color: #b7a09a;
          line-height: 17px;
          text-align: left;
          font-style: normal;
        }
        .right-four {
          margin-top: 4px;
          font-family: PingFangSC, PingFang SC;
          font-weight: 600;
          font-size: 20px;
          color: #ec4725;
          line-height: 28px;
          text-align: left;
          font-style: normal;
        }
      }
    }
    .integra-bot {
      margin-top: 15px;
      padding-bottom: 12px;
      border-bottom: 1px solid #f7e8e4;
      @extend .row-between;
      .bot-left {
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 14px;
        color: #69442e;
        line-height: 20px;
        text-align: left;
        font-style: normal;
      }
      .bot-right {
        font-family: PingFangSC, PingFang SC;
        font-weight: 600;
        font-size: 16px;
        color: #ec4725;
        line-height: 22px;
        text-align: center;
        font-style: normal;
      }
    }
    .remark {
      margin-top: 15px;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 14px;
      color: #69442e;
      line-height: 20px;
      text-align: left;
      font-style: normal;
    }
    .remark-inp {
      margin-top: 10px;
      height: 94px;
      /deep/ .el-textarea {
        .el-textarea__inner {
          background: #faf6f3 !important;
          border: none;
        }
      }
    }
    .order-info {
      margin-top: 14px;
      .order-item {
        padding-top: 16px;
        // border-bottom: 1px solid #f7e8e4;
        @extend .row-between;
        .item-left {
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 16px;
          color: #b8aca3;
          line-height: 22px;
          text-align: left;
          font-style: normal;
        }
        .item-right {
          font-family: PingFangSC, PingFang SC;
          font-weight: 400;
          font-size: 16px;
          color: #2c1101;
          line-height: 22px;
          text-align: center;
          font-style: normal;
          .text-icon {
            margin-left: 8px;
            color: #f7e8e4;
          }
          .text-copy {
            margin-left: 8px;
            color: #ec4725;
          }
        }
      }
      .order-item + .order-item {
        margin-top: 16px;
        border-top: 1px solid #f7e8e4;
      }
    }
    .detail-bot {
      margin-top: 64px;
      @extend .row-start;
      .bot-button {
        @extend .row;
        width: 179px;
        height: 54px;
        background: #ffffff;
        border-radius: 4px;
        border: 1px solid #ff453b;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 14px;
        color: #ff453b;
        line-height: 20px;
        letter-spacing: 1px;
        text-align: right;
        font-style: normal;
      }
      .bot-button-right {
        @extend .row;
        margin-left: 20px;
        width: 179px;
        height: 54px;
        background: #ff453b;
        border-radius: 4px;
        border: 1px solid #ff453b;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 14px;
        color: #ffffff;
        line-height: 20px;
        letter-spacing: 1px;
        text-align: right;
        font-style: normal;
      }
    }
  }
}
</style>